home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Erotic Games: Memory
/
Erotic Games: Memory.iso
/
mac
/
air_installers
/
AdobeAIR.exe
/
setup.swf
/
scripts
/
_ApplicationControlBarStyle.as
< prev
next >
Wrap
Text File
|
2009-02-12
|
1KB
|
45 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _ApplicationControlBarStyle
{
public function _ApplicationControlBarStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("ApplicationControlBar");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("ApplicationControlBar",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.paddingTop = 5;
this.paddingLeft = 8;
this.fillAlphas = [0,0];
this.cornerRadius = 5;
this.paddingRight = 8;
this.fillColors = [16777215,16777215];
this.dropShadowEnabled = true;
this.docked = false;
this.paddingBottom = 4;
this.borderStyle = "applicationControlBar";
this.shadowDistance = 5;
};
}
}
}
}